_f_a_c_e Specifies the polygons that _m_o_d_e applies to. Must be GGGGLLLL____FFFFRRRROOOONNNNTTTT for
front-facing polygons, GGGGLLLL____BBBBAAAACCCCKKKK for back-facing polygons, or
GGGGLLLL____FFFFRRRROOOONNNNTTTT____AAAANNNNDDDD____BBBBAAAACCCCKKKK for front- and back-facing polygons.
_m_o_d_e Specifies how polygons will be rasterized. Accepted values are
GGGGLLLL____PPPPOOOOIIIINNNNTTTT, GGGGLLLL____LLLLIIIINNNNEEEE, and GGGGLLLL____FFFFIIIILLLLLLLL. The initial value is GGGGLLLL____FFFFIIIILLLLLLLL for
both front- and back-facing polygons.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ffffggggllllPPPPoooollllyyyyggggoooonnnnMMMMooooddddeeee controls the interpretation of polygons for rasterization.
_f_a_c_e describes which polygons _m_o_d_e applies to: front-facing polygons
(GGGGLLLL____FFFFRRRROOOONNNNTTTT), back-facing polygons (GGGGLLLL____BBBBAAAACCCCKKKK), or both (GGGGLLLL____FFFFRRRROOOONNNNTTTT____AAAANNNNDDDD____BBBBAAAACCCCKKKK).
The polygon mode affects only the final rasterization of polygons. In
particular, a polygon's vertices are lit and the polygon is clipped and
possibly culled before these modes are applied.
Three modes are defined and can be specified in _m_o_d_e:
GGGGLLLL____PPPPOOOOIIIINNNNTTTT Polygon vertices that are marked as the start of a boundary
edge are drawn as points. Point attributes such as
GGGGLLLL____PPPPOOOOIIIINNNNTTTT____SSSSIIIIZZZZEEEE and GGGGLLLL____PPPPOOOOIIIINNNNTTTT____SSSSMMMMOOOOOOOOTTTTHHHH control the rasterization
of the points. Polygon rasterization attributes other than
GGGGLLLL____PPPPOOOOLLLLYYYYGGGGOOOONNNN____MMMMOOOODDDDEEEE have no effect.
GGGGLLLL____LLLLIIIINNNNEEEE Boundary edges of the polygon are drawn as line segments.
They are treated as connected line segments for line
stippling; the line stipple counter and pattern are not
reset between segments (see ffffggggllllLLLLiiiinnnneeeeSSSSttttiiiipppppppplllleeee). Line
attributes such as GGGGLLLL____LLLLIIIINNNNEEEE____WWWWIIIIDDDDTTTTHHHH and GGGGLLLL____LLLLIIIINNNNEEEE____SSSSMMMMOOOOOOOOTTTTHHHH control
the rasterization of the lines. Polygon rasterization
attributes other than GGGGLLLL____PPPPOOOOLLLLYYYYGGGGOOOONNNN____MMMMOOOODDDDEEEE have no effect.
GGGGLLLL____FFFFIIIILLLLLLLL The interior of the polygon is filled. Polygon attributes
such as GGGGLLLL____PPPPOOOOLLLLYYYYGGGGOOOONNNN____SSSSTTTTIIIIPPPPPPPPLLLLEEEE and GGGGLLLL____PPPPOOOOLLLLYYYYGGGGOOOONNNN____SSSSMMMMOOOOOOOOTTTTHHHH control
the rasterization of the polygon.
EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
To draw a surface with filled back-facing polygons and outlined front-
Vertices are marked as boundary or nonboundary with an edge flag. Edge
flags are generated internally by the GL when it decomposes polygons;
they can be set explicitly using ffffggggllllEEEEddddggggeeeeFFFFllllaaaagggg.
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if either _f_a_c_e or _m_o_d_e is not an accepted
value.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ffffggggllllPPPPoooollllyyyyggggoooonnnnMMMMooooddddeeee is executed between
the execution of ffffggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ffffggggllllEEEEnnnndddd.